/*
 * @(#)FormValidationRule.java
 *
 * Copyright (c) 2003 DCIVision Ltd
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of DCIVision
 * Ltd ("Confidential Information").  You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms of the license
 * agreement you entered into with DCIVision Ltd.
 */
package com.dcivision.form.bean;

import com.dcivision.framework.bean.AbstractBaseObject;

/**
  FormValidationRule.java

  This class is the serializable bean reflecting business logic uses.

    @author           Vera Wang
    @company          DCIVision Limited
    @creation date    11/11/2005
    @version          $Revision: 1.2 $
*/

public class FormValidationRule extends AbstractBaseObject {

  public static final String REVISION = "$Revision: 1.2 $";

  private String validationRule = null;
  private String regularExpr = null;
  private String labelMsgKey = null;
  private String descriptionMsgKey = null;
  private String errorMsgKey = null;

  public FormValidationRule() {
    super();
  }

  public String getValidationRule() { 
    return(this.validationRule);
  }

  public void setValidationRule(String validationRule) { 
    this.validationRule = validationRule;
  }

  public String getRegularExpr() { 
    return(this.regularExpr);
  }

  public void setRegularExpr(String regularExpr) { 
    this.regularExpr = regularExpr;
  }

  public String getLabelMsgKey() { 
    return(this.labelMsgKey);
  }

  public void setLabelMsgKey(String labelMsgKey) { 
    this.labelMsgKey = labelMsgKey;
  }

  public String getDescriptionMsgKey() { 
    return(this.descriptionMsgKey);
  }

  public void setDescriptionMsgKey(String descriptionMsgKey) { 
    this.descriptionMsgKey = descriptionMsgKey;
  }

  public String getErrorMsgKey() { 
    return(this.errorMsgKey);
  }

  public void setErrorMsgKey(String errorMsgKey) { 
    this.errorMsgKey = errorMsgKey;
  }
}
